using UnityEngine;
using UnityEngine.UI;

public class UIButtonStar : MonoBehaviour
{
    public ESolarName m_solar_name;
    private Button _button;
    
    void Start()
    {
        _button = GetComponent<Button>();
        _button.onClick.AddListener(OnClickButton);
    }

    private void OnClickButton()
    {
        UIManager.m_Intance.OnClickButton(m_solar_name);
    }
}
